package com.mianle.userapi.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Data
@Configuration
@ConfigurationProperties(prefix = "baseConfig")
public class BaseConfig {

    private int isDebug;
    private String jwtSalt;
    private int expSeconds;
    private String corsMapping;
    private int sysAdminKaptchaExpTime;
    private String allowedOrigins;
    private String noCheckUrl;
    private String shippingFee;
    private String orderFee;//方便测试指定金额支付
    private String mock_sms;//模拟阿里云短信发送成功
    private String mock_sms_code;//默认111111

    private String userName;
    private String password;
    private String authUrl;
}
